<!doctype html>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <%@ taglib prefix="perm" uri="http://wanhuakeji.com/permission" %>
    <%@ include file="/WEB-INF/views-jsp/include/taglib/taglib.jsp" %>
    <%@ include file="/WEB-INF/views-jsp/include/script/script.jsp" %>
    <%@ include file="/WEB-INF/views-jsp/include/link/link.jsp" %>
    <script type="text/javascript" src="${path}/html/js/js-jsp/layout-sub.js"></script>
    <script type="text/javascript" src="${path}/html/js/js-jsp/us/user/user.js?v=<%out.print(Math.random());%>"></script>
    <script type="text/javascript" src="${path}/html/js/js-jsp/common/select-plugin.js?v=<%out.print(Math.random());%>"></script>
    <script>
        addBtn = <perm:hasPermission permission="rules:us_user_add"/>;
        delBtn = <perm:hasPermission permission="rules:us_user_del"/>;
        editBtn= <perm:hasPermission permission="rules:us_user_edit"/>;
        searchBtn = <perm:hasPermission permission="rules:us_user_find"/>;
        viewBtn = <perm:hasPermission permission="rules:us_user_view"/>;
    </script>
</head>
<body style="height:100%; margin: 2px; ">
    <div class="easyui-layout"  fit="true" space="2">
        <div region="north"  style="height:100%;">
            <div class="easyui-layout" fit="true" space="2">
                <div region="north" class="searchToolBar" border="false" style="height: 120px;">
                    <fieldset>
                        <legend>系统操作</legend>
                            <form id="userQueryForm" name="userQueryForm" method="post">
                                <table class="searchTable">
                                    <tr class="searchTableTr">
                                        <td>
                                            <input type="hidden" name="id" id="id_" value="" />
                                            <input class="easyui-textbox" type="text" label="登录名称：" labelWidth="82" labelposition="left" data-options="prompt:'请输入登录名称'" name="loginName_" id="loginName_" style="width:90%; height: 32px">
                                        </td>
                                        <td>
                                            <input class="easyui-textbox" type="text" label="用户手机：" labelWidth="82" labelposition="left" data-options="prompt:'请输入用户手机'" name="userPhone_" id="userPhone_" style="width:90%; height: 32px">
                                        </td>
                                        <td>
                                            <input type="hidden" name="companyId_" id="companyId_">
                                            <input class="easyui-combotree" id="companyTree" label="所属公司：" labelWidth="82" labelposition="left" style="width:90%; height: 32px"/>
                                        </td>
                                        <td>
                                            <select class="easyui-combobox" label="登录状态：" labelWidth="82" labelposition="left" name="loginStatus_" id="loginStatus_" style="width:90%; height: 32px" editable="false">
                                                <option value="" selected="selected">--请选择--</option>
                                                <option value="1">可登录</option>
                                                <option value="2">已禁用</option>
                                            </select>
                                        </td>
                                    </tr>
                                </table>
                                <table class="searchTable" style="margin-top: 0px">
                                    <tr class="searchTableTr">
                                        <td>
                                            <select class="easyui-combobox" label="接收警报：" labelWidth="82" labelposition="left" name="receiveAlarm_" id="receiveAlarm_" style="width:90%; height: 32px" editable="false">
                                                <option value="" selected="selected">--请选择--</option>
                                                <option value="1">接收</option>
                                                <option value="2">不接收</option>
                                            </select>
                                        </td>
                                        <td></td>
                                        <td colspan="2" style="width: 50%">
                                            <div class="searchButton">
                                                <!--用户操作菜单-->
                                                <div id="user_menu"></div>
                                            </div>
                                        </td>
                                    </tr>
                                </table>
                            </form>
                    </fieldset>
                </div>
                <div region="center" border="false" style="padding: 1px;">
                    <!--用户表格列表-->
                    <table id="user_dataList"></table>
                </div>
            </div>
        </div>
    </div>
    <script type="text/javascript" src="${path}/html/js/js-jsp/common-optionBtnArray.js"></script>
</body>
</html>
